package com.weijianhuawen.wjblog.admin.mode.vo.wiki;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @version: java version 8
 * @Author: weijianhuawen
 * @description:
 * @date: 2024-11-11 17:49
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "知识库更新发布请求实体")
public class UpdateWikiIsPublishReqVo {
    @NotNull(message = "知识库id不能为空！")
    private Long id;
    @NotNull(message = "知识库发布状态不能为空！")
    private Boolean isPublish;
}
